package com.t282.crm.sale.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr.Chen
 * @since 2021-05-19
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @ApiModel(value="Storage对象", description="")
public class Storage extends Model<Storage> {

    private static final long serialVersionUID=1L;

      @TableId(value = "stk_id", type = IdType.AUTO)
      private Long stkId;

    private Long stkProdId;

    private String stkWarehouse;

    private String stkWare;

    private Integer stkCount;

    private String stkMemo;


    @Override
    protected Serializable pkVal() {
          return this.stkId;
      }

}
